using System.Web.UI;
using OpenWaves.Web.Controls;

namespace OpenWaves.Pagination.Controls
{
    public class PageRepeater : Repeater<PageViewModel>
    {
        [PersistenceMode(PersistenceMode.InnerProperty)]
        [TemplateContainer(typeof(RepeaterItem<PageViewModel>))]
        public new ITemplate FirstItemTemplate { get { return base.FirstItemTemplate; } set { base.FirstItemTemplate = value; } }

        [PersistenceMode(PersistenceMode.InnerProperty)]
        [TemplateContainer(typeof(RepeaterItem<PageViewModel>))]
        public new ITemplate ItemTemplate { get { return base.ItemTemplate; } set { base.ItemTemplate = value; } }

        [PersistenceMode(PersistenceMode.InnerProperty)]
        [TemplateContainer(typeof(RepeaterItem<PageViewModel>))]
        public new ITemplate AlternatingItemTemplate { get { return base.AlternatingItemTemplate; } set { base.AlternatingItemTemplate = value; } }
    }
}